package com.zxw.user.service;

import com.zxw.user.domain.entity.Button;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author Xuewei.Zhang
 * @since 2022-05-04
 */
public interface ButtonService extends IService<Button> {

    List<Button> getAllByCompanyIdAndMenuId(Button button);

    Button getButton(Long id);

    Long addButton(Button button);

    Button updateButton(Button button);

    void delete(String ids);
}
